home *** CD-ROM | disk | FTP | other *** search
- ;------------------------------------------------------------------------------
- ; .ss.
- ; `²²'
- ; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
- ; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
- ; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
- ; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
- ; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
- ; .sS²°$$$²²°"' d²°'
- ; .$$² .$$'
- ; $$$.,d$$'
- ; `²S$$S²'
- ;------------------------------------------------------------------------------
- ; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
- ;------------------------------------------------------------------------------
- ; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
- ;------------------------------------------------------------------------------
-
- Boolean BOOLEAN001
- String STRING001
- String STRING002
- String STRING003
- Int INT001
-
- ;------------------------------------------------------------------------------
-
- STRING002 = String(Date())
- STRING001 = PPEPath() + "alast"
- INT001 = GetToken()
- If (Exist(STRING001)) Goto LABEL001
- FCreate 1, STRING001, 1, 3
- FPutLn 1, STRING002
- FClose 1
- Shell 1, BOOLEAN001, PPEPath() + "area.bat", ""
- Goto LABEL002
- :LABEL001
- FOpen 1, STRING001, 2, 3
- FGet 1, STRING003
- If (ToDate(STRING003) + INT001 <= ToDate(STRING002)) Then
- Frewind 1
- FPutLn 1, STRING002
- FClose 1
- Shell 1, BOOLEAN001, PPEPath() + "area.bat", ""
- Else
- FClose 1
- Endif
- :LABEL002
-
- ;------------------------------------------------------------------------------
- ;
- ; Usage report (before postprocessing)
- ;
- ; ■ Statements used :
- ;
- ; 4 Goto
- ; 3 Let
- ; 2 If
- ; 1 FCreate
- ; 1 FOpen
- ; 3 FClose
- ; 1 FGet
- ; 2 FPutLn
- ; 2 Shell
- ; 1 Frewind
- ;
- ;
- ; ■ Functions used :
- ;
- ; 4 +
- ; 1 <=
- ; 2 !
- ; 1 Date()
- ; 1 String()
- ; 3 PPEPath()
- ; 1 GetToken()
- ; 1 Exist()
- ; 2 ToDate()
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Analysis flags : S
- ;
- ; S - Shell to DOS ■ 5
- ; This may be normal if the PPE need to execute an external command,
- ; but may be actually anything... nasty (formating HD, rebooting,...)
- ; or usefull (sorting, maintenance,...). Check!
- ; ■ Search for : SHELL
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Postprocessing report
- ;
- ; 0 For/Next
- ; 0 While/EndWhile
- ; 1 If/Then or If/Then/Else
- ; 0 Select Case
- ;
- ;------------------------------------------------------------------------------
- ; AEGiS Corp - Break the routines, code against the machines!
- ;------------------------------------------------------------------------------
-